<style>
	label{
		display: block;
		font_weight: bold;
	}
</style>

<div id="dialog_form" title="Task information">
	<form id="form_upsert_task" class="modal" METHOD="POST" action="<?= base_url() ?>index.php/tasks_controller/save">
		<p>
			<label for="subject">Subject</label>
			<input type="text" name="subject" id="subject" value=""/>
		</p>
		<p>
			<label for="description">Description</label>
			<textarea id="description" name="description" id="description" rows="5" cols="50"></textarea>
		</p>
		<p>
			<label for="priority">Priority</label>
			<select name="priority" id="priority">
				<option value="0">Open</option>
				<option value="1">In progress</option>
				<option value="2">Resolved</option>
			</select>
		</p>
		<p>
			<label for="status">Status</label>
			<input type="text" name="status" id="status" value=""/>
		</p>
		<p>
			<select name="completed" id="completed">
				<option value="0">0</option>
				<option value="10">10</option>
				<option value="20">20</option>
				<option value="30">30</option>
				<option value="40">40</option>
				<option value="50">50</option>
				<option value="60">60</option>
				<option value="70">70</option>
				<option value="80">80</option>
				<option value="90">90</option>
				<option value="100">100</option>
			</select>
		</p>
		<p>
			<label for="estimated_hours">Estimated Hours</label>
			<input type="text" name="estimated_hours" id="estimated_hours" value=""/>
		</p>
		<p>
			<label for="worked_hours">Worked Hours</label>
			<input type="text" name="worked_hours" id="worked_hours" value=""/>
		</p>
		<p>
			<label for="assigned_to">Assigned to</label>
			<input type="text" name="assigned_to" id="assigned_to" value="">
			<input type="hidden" name="assigned_to_id" id="assigned_to_id" value=""/>
		</p>
		<p>
			<label for="sprint">Sprint</label>
			<input type="text" name="sprint" id="sprint" value="">
			<input type="hidden" name="sprint_id" id="sprint_id" value=""/>
		</p>
	</form>
</div>